//
//  YPCameraFocusView.swift
//  AxcCamera
//
//  Created by 赵新 on 2022/3/1.
//

import UIKit


typealias WmcHomeControlFocusView = WmcHomeControlView.FocusView
extension WmcHomeControlView {
    /// 对焦视图
    class FocusView: UIImageView {
        /// 实例化
        override public init(frame: CGRect) {
            super.init(frame: frame)
            config()
        }

        @available(*, unavailable)
        required init?(coder: NSCoder) {
            fatalError("init(coder:) has not been implemented")
        }
    }
}

extension WmcHomeControlFocusView {
    /// 初始配置
    func config() {
        isHidden = true
        image = "home_cam_focus_frame".wmc_image
    }
}
